home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll - a pixel that can be converted into different color models
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- iflPixel
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilCdefs.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class abstracts the concept of a pixel of image data with a
- particular color model. It contains the color model, data type, the
- number of channels, and a list of component values. Methods are provided
- to covert this pixel to different color models.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrrssss
-
- ilConvPixel * ilConvPixelCreate(iflDataType type,
- iflColorModel cm, double min,
- double max, iflColormap* map,
- void* data)
- ilConvPixel * ilConvPixelFromPixel(const iflPixel *pix,
- iflColorModel cm,
- double min, double max,
- iflColormap* map)
- ilConvPixel * ilConvPixelFromConvPixel(const ilConvPixel *pix,
- iflColorModel cm,
- double min, double max,
- iflColormap* map)
-
- CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn mmmmeeeetttthhhhooooddddssss
-
- void ilConvPixelDoConversion(ilConvPixel* c, iflDataType type,
- iflColorModel cm, double min,
- double max, const iflColormap* map,
- const ilConvPixel* src)
- void ilConvPixelSetColorModel(ilConvPixel* c, iflColorModel cm)
- void ilConvPixelSetMinMax(ilConvPixel* c, double min, double max)
- void ilConvPixelSetType(ilConvPixel* c, iflDataType type)
- void ilConvPixelSetColormap(ilConvPixel* c, const iflColormap* map)
-
- AAAAcccccccceeeessssssss mmmmeeeetttthhhhooooddddssss
-
- iflColorModel ilConvPixelGetColorModel(ilConvPixel* c)
- void ilConvPixelGetMinMax(ilConvPixel* c, double* min, double* max)
- const iflColormap* ilConvPixelGetColormap(ilConvPixel* c)
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- FUNCTION DESCRIPTIONS
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll(((())))
-
- ilConvPixel * ilConvPixelCreate(iflDataType type,
- iflColorModel cm, double min,
- double max, iflColormap* map,
- void* data)
- ilConvPixel * ilConvPixelFromPixel(const iflPixel *pix,
- iflColorModel cm,
- double min, double max,
- iflColormap* map)
- ilConvPixel * ilConvPixelFromConvPixel(const ilConvPixel *pix,
- iflColorModel cm,
- double min, double max,
- iflColormap* map)
-
-
- The first constructor creates a pixel of data type, _t_y_p_e, color
- model _c_m, scaling range from _m_i_n to _m_a_x, color map _m_a_p (for
- iflRGBPalette), and with the component values pointed to by _d_a_t_a.
- The data values are copied into the ilConvPixel constructed. The
- second constructor copies the data from the iflPixel specified by
- _p_i_x. The third constructor converts the data from another
- ilConvPixel (which may be in a different color model).
-
- ddddooooCCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn(((())))
-
- void ilConvPixelDoConversion(ilConvPixel* c, iflDataType type,
- iflColorModel cm, double min,
- double max, const iflColormap* map,
- const ilConvPixel* src)
-
-
- This method converts the data in the source pixel, _s_r_c, to the
- requested attributes specified by _t_y_p_e, _c_m, _m_i_n, _m_a_x and _m_a_p. The
- result is stored in this pixel.
-
- ggggeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(((())))
-
- iflColorModel ilConvPixelGetColorModel(ilConvPixel* c)
-
-
- Returns the color model of this pixel.
-
- ggggeeeettttCCCCoooolllloooorrrrmmmmaaaapppp(((())))
-
- const iflColormap* ilConvPixelGetColormap(ilConvPixel* c)
-
-
- Returns a pointer to the color map for this pixel (or NULL if there
- isn't one).
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvPPPPiiiixxxxeeeellll((((3333))))
-
-
-
- ggggeeeettttMMMMiiiinnnnMMMMaaaaxxxx(((())))
-
- void ilConvPixelGetMinMax(ilConvPixel* c, double* min, double* max)
-
-
- Returns the scaling min/max of this pixel in _m_i_n and _m_a_x.
-
-
- Copies and converts the source pixel _p_i_x, into the color model and type
- of this pixel.
-
- sssseeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(((())))
-
- void ilConvPixelSetColorModel(ilConvPixel* c, iflColorModel cm)
-
-
- Converts this pixel to the color model specified by _c_m.
-
- sssseeeettttCCCCoooolllloooorrrrmmmmaaaapppp(((())))
-
- void ilConvPixelSetColormap(ilConvPixel* c, const iflColormap* map)
-
-
- Sets the color map for this pixel to _m_a_p, the color map is not
- copied.
-
- sssseeeettttMMMMiiiinnnnMMMMaaaaxxxx(((())))
-
- void ilConvPixelSetMinMax(ilConvPixel* c, double min, double max)
-
-
- Converts this pixel to the scaling range specified by _m_i_n and _m_a_x.
-
- sssseeeettttTTTTyyyyppppeeee(((())))
-
- void ilConvPixelSetType(ilConvPixel* c, iflDataType type)
-
-
- Converts this pixel to the data type specified by _t_y_p_e.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiiffffllllPPPPiiiixxxxeeeellll
- iflPixelConvert(), iflPixelGetData(), iflPixelGetDataType(),
- iflPixelGetElem(), iflPixelGetNumChans(), iflPixelMax(), iflPixelMin(),
- iflPixelSet(), iflPixelSetElem()
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-